package com.seng.userservice.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.seng.userservice.entity.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seng.userservice.vo.TbUserLoginVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author seng
 * @since 2020-07-20
 */
public interface TbUserService extends IService<TbUser> {

    IPage<TbUser> findStudentPage(Page<TbUser> page, QueryWrapper<TbUser> wrapper);

    /**
     * 导出数据
     * @param response
     * @throws IOException
     */
    void exportStudentInfoExcel(HttpServletResponse response) throws IOException;

    /**
     * 导入数据
     * @param file
     * @throws IOException
     */
    /*void importStudentInfoExcel(MultipartFile file) throws IOException;*/
}
